package com.magina.es;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

//None of the configured nodes are available:  如果es客户端 启动Received message from unsupported version: [6.4.3] minimal compatible version is: [6.7.0]
//类似错误.表示当前springboot和es版本不匹配
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class EsApplication {
    public static void main(String[] args) {
        SpringApplication.run(EsApplication.class);
    }
}

